﻿package plugin.juezhan
{
    import com.sh.game.consts.*;
    import com.sh.game.global.*;
    import plugin.juezhan.ui.*;
    import view.*;

    public class JueZhan extends FlashUIBase
    {

        public function JueZhan()
        {
            return;
        }// end function

        override protected function preLoaderInit() : void
        {
            super.preLoaderInit();
            appendLoader(Config.getUrl("assets/images/mornui/common.swf", ResourceType.NORMAL));
            appendLoader(Config.getUrl("assets/images/mornui/juezhan.swf", ResourceType.NORMAL));
            return;
        }// end function

        override protected function initGUI() : void
        {
            mGUI = new JueZhanUIControl(this);
            return;
        }// end function

        override protected function openRefresh() : void
        {
            this.uiControl.openRefresh(data);
            return;
        }// end function

        private function get uiControl() : JueZhanUIControl
        {
            return mGUI as JueZhanUIControl;
        }// end function

    }
}
